package ms.opentracing.jaeger.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "person",url = "http://localhost:8080",path = "person")
public interface PersonClient {

    @GetMapping(value = "{id}")
    String getById(@PathVariable(value = "id") String id);
}
